package com.open.capacity.common.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/**
 * 问卷问题关系表，用于记录问卷与问题之间的对应关系
 *
 * @author liangd
 * @since 2021-01-29 16:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class PaperQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 问卷问题关系id，主键，自增
     */
    @TableId(value = "paquid",type = IdType.AUTO)
    private Integer paquid;

    /**
     * 问卷id
     */
    private Integer papeid;

    /**
     * 问题id
     */
    private Integer quesid;

}

